.yg-cart {
  background: #fff;
  position: relative;
  .yg-cart-empty {
    .cart-empty-img {
      width: 100%;
    }

    .empty_text {
      text-align: center;

      a {
        font-size: 0.8rem;
        color: var(--themeColor)
      }
    }
  }

  .yg-cart-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    .cart-nav {
      background-color: var(--themeColor);
      color: white;
    }
  }

  .yg-cart-main {
    margin-top: 1.2rem;
    margin-bottom: 1.133333rem;
    .cart-main-item {
      display: flex;
      height: 3.2rem;
      align-items: center;

      .cart-main-item-left {
        flex: 1;
        text-align: center;

        .am-checkbox.am-checkbox-checked .am-checkbox-inner {
          border-color: var(--themeColor);
          background: var(--themeColor);
        }
      }

      .cart-main-item-content {
        flex: 3;
        padding: 10px;

        img {
          width: 100%;
          height: 100%;
        }
      }

      .cart-main-item-right {
        flex: 6;
        display: flex;
        flex-direction: column;
        padding-right: 0.533333rem;

        .item-right-title {
          font-size: 0.426667rem;
          display: -webkit-box;
          overflow: hidden;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
        }

        .item-right-price-num {
          margin-top: 0.8rem;
          display: flex;
          justify-content: space-between;

          .item-right-price {
            color: var(--themeColor);
            font-size: 0.48rem;
          }

          .item-right-num {
            font-size: 0.426667rem;
            color: rgb(83, 82, 82);

            i {
              border: 1px solid #ddd;
              border-radius: 50%;
              background: #fff;
              width: 0.426667rem;
              height: 0.426667rem;
              margin: 0 0.266667rem;
            }
          }
        }
      }
    }
  }

  .yg-cart-bottom {
    width: 100%;
    position: fixed;
    height: 1.066667rem;
    // bottom: 3.9rem;
    bottom: 1.33rem;
    left: 0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: #fff;
    border-top: 0.026667rem solid #ddd;
    .cart-bottom-left {
      display: flex;
      align-items: center;
      flex: 2;
      .am-checkbox.am-checkbox-checked .am-checkbox-inner {
        border-color: var(--themeColor);
        background: var(--themeColor);
      }
      span {
        color: rgb(112, 111, 111);
        margin-left: 0.266667rem;
      }
    }

    .cart-bottom-common {
      padding-left: 0.266667rem;
      flex: 5;
      font-size: 0.373333rem;
      span{
        color: var(--themeColor);
      }
    }

    .cart-bottom-right {
      flex: 3;
      button{
        float: right;
        width: 80%;
        height: 0.8rem;
        background:var(--themeColor);
        border-radius: 1.333333rem;
        border: none;
        color: #fff;
      }
    }
  }
}